package com.mgm.dao;

import com.mgm.pojo.Country;
import com.mgm.pojo.CountryExample;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface CountryMapper {
    long countByExample(CountryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Country record);

    int insertSelective(Country record);

    List<Country> selectByExample(CountryExample example);
    
    List<Country> selectAll();
    
    List<String> selectShort();

    Country selectByPrimaryKey(Integer id);
    
    Country selectByAbbr(@Param("abbr") String abbr);

    int updateByPrimaryKeySelective(Country record);

    int updateByPrimaryKey(Country record);
}